package cn.wwk.canal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName history
 */
@TableName(value ="history")
@Data
public class History implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "uid")
    private Integer uid;

    /**
     * 扫码unit地址id
     */
    @TableField(value = "unitId")
    private String unitid;

    /**
     * 创建日期
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 修改日期
     */
    @TableField(value = "updatetime")
    private Date updatetime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}